package com.yansu.own.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yansu.own.common.dtos.ResponseResult;
import com.yansu.own.entity.dto.SysBannerSearchDto;
import com.yansu.own.entity.dto.SysBannerUpdateDto;
import com.yansu.own.entity.pojo.SysBanner;
import com.yansu.own.entity.vo.SysBannerVo;

import java.util.List;

public interface SysBannerService extends IService<SysBanner> {
    List<SysBannerVo> getBannerTable(SysBannerSearchDto searchDto);

    ResponseResult addBanner(SysBannerUpdateDto insertDto);

//    ResponseResult updateBanner(BannerManageEntity pojo);
//
//    ResponseResult getBanner(int id);
//
//    ResponseResult getBannerByUser(Long userId);
}

